<?php $this->renderPartial('//common/header'); ?>
<div id="main">
<div class="container">
	<ul class="breadcrumb">
		<li><a href="<?php echo PIUrl::createUrl('/home/');?>"><?php echo translate("Trang chủ"); ?></a></li>
		<li><a href="<?php echo PIUrl::createUrl('/home/listNews');?>"><?php echo translate("Tin tức"); ?></a></li>
		<?php if(!empty($cateNew)){ ?>
			<li><a href="<?php echo PIUrl::createUrl('/home/listNews', array("alias"=>$cateNew->alias));?>"><?php echo $cateNew->name; ?></a></li>
		<?php } ?>
		<li><span><?php echo $new->name; ?></span></li>
	</ul>
	<?php if(!empty($new)){ ?>
	<h2 class="title-lg"><?php echo (!empty($new)) ? $new->name : ''; ?>	</h2>
	<div class="main-content">
		<div style="margin-top:0;" class="item-description">
			<p><?php echo $new->content; ?></p>
		</div>
	</div>
	<div class="sidebar">
		<!-- Tin tuc khac -->
		<h2 class="title">Tin tức khác</h2>
		<div class="box-list-preview other-theme">
		<?php if(!empty($newRelated)){ ?>
			<ul>
			<?php foreach($newRelated as $new){ ?>
				<li>
					<a href="<?php echo PIUrl::createUrl('/home/newDetail', array("alias"=>$new->alias,));?>">
						<div class="wrap-image">
							<img src="<?php echo getImage($new->image, 306, 193); ?>" alt="img" width="223" height="165">
							<i class="icon-ib icon-view"></i>
						</div>
						<h4><?php echo $new->name; ?></h4>
					</a>
				</li>
			<?php } ?>
			</ul>
		<?php } ?>
		</div>
	</div>
	<div class="clearfix"></div>

	<?php }else echo translate("Không tìm thấy tin tức!"); ?>
	<div class="clearfix"></div>
</div>
</div>

<div id="push"> </div>
</div>
<?php $this->renderPartial('//common/footer'); ?>